package com.summer.sqlSession;

import java.util.List;

public interface SqlSession {

    //查询所有
     <E> List<E> selectList(String statementid,Object... params) throws Exception;

    //根据条件查询单个
    <T> T selectOne(String statementid,Object... params) throws Exception;

    Integer update(String statementid,Object... params);

    Integer delete(String statementid,Object... params);
}
